﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using simple.Utilities;

namespace simpleHotel.Web
{
    public partial class Menu : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnVietnam_Click(object sender, EventArgs e)
        {
            LanguageManager.CurrentCulture = new CultureInfo("vi-VN");
            Session.Add("CURRENT_LANGUAGE", LanguageManager.CurrentCulture);
            Response.Redirect(Request.Url.AbsoluteUri);
        }

        protected void btnEnglish_Click(object sender, EventArgs e)
        {
            LanguageManager.CurrentCulture = new CultureInfo("en-US");
            Session.Add("CURRENT_LANGUAGE", LanguageManager.CurrentCulture);
            Response.Redirect(Request.Url.AbsoluteUri);
        }
    }
}